package com.bwie.service;

import com.bwie.service.impl.TUserviceImpl;
import com.bwie.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * TODO
 *
 * @Description
 * @Author 36167
 * @Date 2025/3/12 12:44
 **/
@Service
@FeignClient(value = "day3-12-user" ,contextId = "xty",fallback = TUserviceImpl.class )
public interface TUservice {
    @PostMapping("/user/user/{uid}")
    public R user(@PathVariable Integer uid);
}
